// samsting : this file is auto create.

#include "Emr/2015-09-10/ListExecutePlansResponse.h"

namespace aliyun { namespace Emr {

ListExecutePlansResponse::ListExecutePlansResponse() {
}

int64 ListExecutePlansResponse::ExecutePlanInfo::GetId(void) const {
  return Id_;
}

const string& ListExecutePlansResponse::ExecutePlanInfo::GetName(void) const {
  return Name_;
}

const string& ListExecutePlansResponse::ExecutePlanInfo::GetLastRunStatus(void) const {
  return LastRunStatus_;
}

int64 ListExecutePlansResponse::ExecutePlanInfo::GetRunTime(void) const {
  return RunTime_;
}

const string& ListExecutePlansResponse::ExecutePlanInfo::GetClusterName(void) const {
  return ClusterName_;
}

bool ListExecutePlansResponse::ExecutePlanInfo::GetIsCreateCluster(void) const {
  return IsCreateCluster_;
}

int ListExecutePlansResponse::ExecutePlanInfo::GetStragety(void) const {
  return Stragety_;
}

const string& ListExecutePlansResponse::ExecutePlanInfo::GetStatus(void) const {
  return Status_;
}

int ListExecutePlansResponse::ExecutePlanInfo::GetTimeInterval(void) const {
  return TimeInterval_;
}

const string& ListExecutePlansResponse::ExecutePlanInfo::GetStartTime(void) const {
  return StartTime_;
}

const string& ListExecutePlansResponse::ExecutePlanInfo::GetTimeUnit(void) const {
  return TimeUnit_;
}

const std::vector<ListExecutePlansResponse::ExecutePlanInfo>& ListExecutePlansResponse::GetExecutePlans(void) const {
  return ExecutePlans_;
}

int ListExecutePlansResponse::GetTotalCount(void) const {
  return TotalCount_;
}

int ListExecutePlansResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int ListExecutePlansResponse::GetPageSize(void) const {
  return PageSize_;
}

const char* ListExecutePlansResponse::BaseKey(void) {
  return "ListExecutePlansResponse";
}

void ListExecutePlansResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int ExecutePlans__length = 0;
  UnmarshallerInt(ExecutePlans__length, response_map, "ListExecutePlansResponse.ExecutePlans.Length");
  if(ExecutePlans__length >= 0) {
    ExecutePlans_.resize(ExecutePlans__length);
    for(int i1 = 0; i1 < ExecutePlans__length; i1++) {
      UnmarshallerInt64(ExecutePlans_[i1].Id_, response_map, "ListExecutePlansResponse.ExecutePlans["+string_ValueOfInt(i1)+"].Id");
      UnmarshallerString(ExecutePlans_[i1].Name_, response_map, "ListExecutePlansResponse.ExecutePlans["+string_ValueOfInt(i1)+"].Name");
      UnmarshallerString(ExecutePlans_[i1].LastRunStatus_, response_map, "ListExecutePlansResponse.ExecutePlans["+string_ValueOfInt(i1)+"].LastRunStatus");
      UnmarshallerInt64(ExecutePlans_[i1].RunTime_, response_map, "ListExecutePlansResponse.ExecutePlans["+string_ValueOfInt(i1)+"].RunTime");
      UnmarshallerString(ExecutePlans_[i1].ClusterName_, response_map, "ListExecutePlansResponse.ExecutePlans["+string_ValueOfInt(i1)+"].ClusterName");
      UnmarshallerBool(ExecutePlans_[i1].IsCreateCluster_, response_map, "ListExecutePlansResponse.ExecutePlans["+string_ValueOfInt(i1)+"].IsCreateCluster");
      UnmarshallerInt(ExecutePlans_[i1].Stragety_, response_map, "ListExecutePlansResponse.ExecutePlans["+string_ValueOfInt(i1)+"].Stragety");
      UnmarshallerString(ExecutePlans_[i1].Status_, response_map, "ListExecutePlansResponse.ExecutePlans["+string_ValueOfInt(i1)+"].Status");
      UnmarshallerInt(ExecutePlans_[i1].TimeInterval_, response_map, "ListExecutePlansResponse.ExecutePlans["+string_ValueOfInt(i1)+"].TimeInterval");
      UnmarshallerString(ExecutePlans_[i1].StartTime_, response_map, "ListExecutePlansResponse.ExecutePlans["+string_ValueOfInt(i1)+"].StartTime");
      UnmarshallerString(ExecutePlans_[i1].TimeUnit_, response_map, "ListExecutePlansResponse.ExecutePlans["+string_ValueOfInt(i1)+"].TimeUnit");
    } // for(int i1 = 0; i1 < ExecutePlans__length; i1++) {
  } // if(ExecutePlans__length >= 0) {

  UnmarshallerInt(TotalCount_, response_map, "ListExecutePlansResponse.TotalCount");
  UnmarshallerInt(PageNumber_, response_map, "ListExecutePlansResponse.PageNumber");
  UnmarshallerInt(PageSize_, response_map, "ListExecutePlansResponse.PageSize");
}


} } // namespace aliyun { namespace Emr {

// end of file 
